﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrNewsList.ascx.cs" Inherits="Controls_News_ctrNewsList" %>
<%@ Register Namespace="ASPnetControls" Assembly="ASPnetPagerV2_8" TagPrefix="cc" %>
<div class="box-header">
    <h5 style="margin-left:20px"><asp:Label ID="lblCategoryName" runat="server"></asp:Label></h5>
</div>
<div style="margin: 20px 20px">
    <asp:Repeater ID="rptNews" runat="server" OnItemDataBound="rptNews_ItemDataBound"
        OnItemCommand="rptNews_ItemCommand">
        <ItemTemplate>
            <div style="float: left; width: 335px; padding-right: 10px; padding-bottom: 15px;">
                <a href="#">
                    <asp:ImageButton runat="server" CommandName="image" Width="150px" Height="100px" BorderWidth="1px"
                        ID="btnNewsImage" CssClass="entry-image" /></a>
                <p><strong>
                <asp:HyperLink ID="lnkNewsTitle" runat="server"></asp:HyperLink></strong><br />
                    <asp:Literal ID="ltrNews" runat="server"></asp:Literal>
                    //<asp:HyperLink ID="lnkReadMore" runat="server"></asp:HyperLink>
                </p>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
<cc:PagerV2_8 ID="Pager" runat="server" OnCommand="Pager_Command" BackToFirstClause="to First Page" BackToPageClause="Back to Page" 
CompactModePageCount="0" CurrentIndex="1" FirstClause="&lt;&lt;" FromClause="From" GenerateFirstLastSection="False" GenerateGoToSection="False" 
GenerateHiddenHyperlinks="False" GeneratePagerInfoSection="True" GenerateSmartShortCuts="True" GenerateToolTips="True" GoClause="go"
GoToLastClause="to Last Page" ItemCount="0" LastClause="&gt;&gt;" MaxSmartShortCutCount="6" NextClause="&gt;" NextToPageClause="Gå til side" 
NormalModePageCount="15" OfClause="av" PageClause="Side" PreviousClause="&lt;" QueryStringParameterName="pagerControlCurrentPageIndex" 
RTL="False" ShowingResultClause="Viser" ShowResultClause="Viser" SmartShortCutRatio="3" SmartShortCutThreshold="30" ToClause="til" />        
